package servers;



import java.util.concurrent.TimeUnit;

import javax.xml.ws.Endpoint;

import webServices.Draw;

public class DrawServer {

	
	public static void main(String[] args) {
		
		Boolean running = true;
		
		Endpoint endpoint = Endpoint.publish("http://localhost:8180/photoshop", new Draw());
            	
      
        
        try {
			System.out.println("-- Welcome on the Image Manager Web Service Server 1 ! --");
			while(running) {
				TimeUnit.MILLISECONDS.sleep(200);
			}
		} catch (Exception e) { }
		endpoint.stop();
	}
}
